package com.ruoyi.backend.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 待审核对象 activity
 * 
 * @author 王冰冰
 * @date 2025-03-20
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class Activity extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 活动ID */
    private Long activityId;

    /** 活动标题 */
    @Excel(name = "活动标题")
    private String title;

    /** 活动内容 */
    @Excel(name = "活动内容")
    private String content;

    /** 门店ID */
    private Long storeId;

    /** 上下架状态 */
    private Long activityStatus;

    /** 发布时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发布时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date publishTime;

    /** 活动图片 */
    private String image;

    /** 审核状态 */
    @Excel(name = "审核状态")
    private Long auditStatus;

    /** 审核说明 */
    private String ext1;

    /** 审核时间 */
    private String ext2;

    /** 扩展字段3 */
    private String ext3;

    /** 扩展字段4 */
    private String ext4;

    /** 扩展字段5 */
    private String ext5;

    /**
     * 开始发布时间 筛选用
     */
    private String beginPublishTime;

    /**
     * 结束发布时间 筛选用
     */
    private String endPublishTime;

    /**
     * 关联商户
     */
    private Merchant merchant;
}
